package com.zy.web.demo.duoxiancheng.demo18;

/**
 * @author <a href="mailto:zhouyong@cqyyt.com">zy</a>
 * @version 1.0
 * @date 2020/8/19 14:06
 */
public class Thread18B extends Thread{

    private Object lock;

    public Thread18B(Object lock){
        super();
        this.lock = lock;
    }

    @Override
    public void run() {
        Method18 method18 = new Method18();
        method18.testMethod(lock);
    }
}
